package com.example.gitstudy.mysocket.dto;

/**
 * @author hwj
 * @date 2022/12/6 15:55
 * @描述；
 */
public class MyMessage {

    private String type; //消息类型

    private String content;//内容

    private String from;//发送者

    private String to;//接收者

    private String channel;//频道


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }
}

